package com.delivery.deliverysystem.service;

import com.delivery.deliverysystem.pojo.DO.Client;
import com.baomidou.mybatisplus.extension.service.IService;
import com.delivery.deliverysystem.pojo.VO.ClientVO;

import java.util.List;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【client(客户资料表)】的数据库操作Service
* @createDate 2025-01-13 15:37:40
*/
public interface ClientService extends IService<Client> {


    /**
     * 根据客户名字获取客户信息
     * @param name
     * @return
     */
    List<Client> getClientByName(String name);

    /**
     * 模糊查询客户名称获取信息
     * @param name
     * @return
     */
    List<Client> searchClient(String name);

    boolean createClient(Client client);

    boolean updateClient(Client client);

    List<ClientVO> getClientList();

    List<ClientVO> getClientStatusList();

    Client getClientById(String id);
}
